/*
package at.guigu.mq.listener;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

*/
/**
 * Basic Queue基本队列模型消费者示例
 * 消费者消息监听处理
 *//*

@Component
public class SpringRabbitListener01 {
    // 指定监听的消息队列---被监听的队列的消息会自动传入被@RabbitListener注解修饰的方法中作为该方法的参数
    @RabbitListener(queues = "simple.queue")
    public void listenSimpleQueueMessage(String msg) throws InterruptedException {
        System.out.println("消费者接收到simple.queue的消息：【" + msg + "】");
    }
}*/
